﻿package  {
	
	import flash.display.MovieClip;
	
	public class Scorer extends MovieClip {
		
		
		public function Scorer() {
			
		}
		
		public function updateScore(score:uint):void{
			var ret:String = ""+score;
			while( ret.length < 5 )
				ret="0" + ret;
			scoreText.text = ret;
		}
	}
}
